<?php namespace app\home\controller;
class App{
//        $obj = new \system\service\Wx();
//        $obj->bind();
//        Wx::bind();
//        Wx::instance('message')->text('欢迎你');






$data = [
[
'Title'       => '标题',
'Description' => '描述',
'PicUrl'      => 'https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=2002084284,2983124483&fm=80&w=179&h=119&img.JPEG',
'Url'         => 'http://qq.com'
],
[
'Title'       => '标题2',
'Description' => '描述2',
'PicUrl'      => 'https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=2002084284,2983124483&fm=80&w=179&h=119&img.JPEG',
'Url'         => 'http://baidu.com'
]
];
Wx::instance( 'message' )->news( $data );
}